package com.example.siyun.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author 赵薇
 * @Date 2022/10/12 15:02
 * @PackageName:com.example.siyun.pojo
 * @ClassName: UserList
 * @Description: TODO
 * @Version 1.0
 */

public class UserList {

    private int userId;
    /* 用户编号 */
    private int userNumber;
    /* 用户头像 */
    private String avatarUrl;
    /* 用户账号 */
    private String userAccount;
    /* 用户昵称 */
    private String userNickname;
    /* 学生姓名 */
    private String stuName;
    /*  用户学号 */
    private int stu_id;
    /* 用户学习时长 */
    private String styleDate;
    /* 消费总金额 */
    private String userAmount;
    /* 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createDate;
    /* 状态 */
    private int statuss;
    /* 个性签名 */
    private String freestyle;
    /* 身份证号码 */
    private String idCard;
    /* 手机号 */
    private String phone;
    /* 性别 */
    private int userSex;
    /* 邮箱 */
    private String userEmail;
    /**
     * 封禁原因
     */
    private String banned;
    /*  观看次数 */
    private String watchNum;
    /* 收藏次数 */
    private String collectionNum;
    /* 点赞次数 */
    private String thumbNum;
    /* 封号天数 */
    private int closureDays;
    /* 封停开始时间 */
    private Date clonowDate;
    /* 封停结束时间 */
    private Date cloendDate;
    /*  封停原因 */
    private String closureReason;
    /* 所属专业 */
    private String profession;
    /* 量化分 */
    private int stuPoints;
    /* 是否毕业 */
    private int graduation;
    /* 入学时间 */
    private String entranceDate;
    /* 毕业时间 */
    private String graduationDate;
    /* 学习的内容 */
    private String studyContent;
    /* 进思//非进思 */
    private int isd;

    /* 优惠券id */
    private  int  couponId;
    /* 未使用 */
    private  int  couponNoused;
    /* 已使用 */
    private  int  couponUsed;
    /* 已过期 */
    private  int  couponExpired;
    /* 封号状态 */
    private int  cdate;
    /* 封号总时长 */
    private int totalDays;

    /* 登录类引用实体类 */
    private Userr userr;

    public int getTotalDays() {
        return totalDays;
    }

    public void setTotalDays(int totalDays) {
        this.totalDays = totalDays;
    }

    public int getCdate() {
        return cdate;
    }

    public void setCdate(int cdate) {
        this.cdate = cdate;
    }

    public int getCouponId() {
        return couponId;
    }

    public void setCouponId(int couponId) {
        this.couponId = couponId;
    }

    public int getCouponNoused() {
        return couponNoused;
    }

    public void setCouponNoused(int couponNoused) {
        this.couponNoused = couponNoused;
    }

    public String getBanned() {
        return banned;
    }

    public void setBanned(String banned) {
        this.banned = banned;
    }

    public int getCouponUsed() {
        return couponUsed;
    }

    public void setCouponUsed(int couponUsed) {
        this.couponUsed = couponUsed;
    }

    public int getCouponExpired() {
        return couponExpired;
    }

    public void setCouponExpired(int couponExpired) {
        this.couponExpired = couponExpired;
    }

    public Userr getUserr() {
        return userr;
    }

    public void setUserr(Userr userr) {
        this.userr = userr;
    }

    public int getIsd() {
        return isd;
    }

    public void setIsd(int isd) {
        this.isd = isd;
    }

    public Date getClonowDate() {
        return clonowDate;
    }

    public void setClonowDate(Date clonowDate) {
        this.clonowDate = clonowDate;
    }

    public Date getCloendDate() {
        return cloendDate;
    }

    public void setCloendDate(Date cloendDate) {
        this.cloendDate = cloendDate;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public int getStuPoints() {
        return stuPoints;
    }

    public void setStuPoints(int stuPoints) {
        this.stuPoints = stuPoints;
    }

    public int getGraduation() {
        return graduation;
    }

    public void setGraduation(int graduation) {
        this.graduation = graduation;
    }

    public String getEntranceDate() {
        return entranceDate;
    }

    public void setEntranceDate(String entranceDate) {
        this.entranceDate = entranceDate;
    }

    public String getGraduationDate() {
        return graduationDate;
    }

    public void setGraduationDate(String graduationDate) {
        this.graduationDate = graduationDate;
    }

    public String getStudyContent() {
        return studyContent;
    }

    public void setStudyContent(String studyContent) {
        this.studyContent = studyContent;
    }

    public Userr getUser() {
        return userr;
    }

    public void setUser(Userr userr) {
        this.userr = userr;
    }


    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(int userNumber) {
        this.userNumber = userNumber;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname;
    }



    public String getStyleDate() {
        return styleDate;
    }

    public void setStyleDate(String styleDate) {
        this.styleDate = styleDate;
    }

    public String getUserAmount() {
        return userAmount;
    }

    public void setUserAmount(String userAmount) {
        this.userAmount = userAmount;
    }


    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public int getStatuss() {
        return statuss;
    }

    public void setStatuss(int statuss) {
        this.statuss = statuss;
    }

    public String getFreestyle() {
        return freestyle;
    }

    public void setFreestyle(String freestyle) {
        this.freestyle = freestyle;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getUserSex() {
        return userSex;
    }

    public void setUserSex(int userSex) {
        this.userSex = userSex;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getWatchNum() {
        return watchNum;
    }

    public void setWatchNum(String watchNum) {
        this.watchNum = watchNum;
    }

    public String getCollectionNum() {
        return collectionNum;
    }

    public void setCollectionNum(String collectionNum) {
        this.collectionNum = collectionNum;
    }

    public String getThumbNum() {
        return thumbNum;
    }

    public void setThumbNum(String thumbNum) {
        this.thumbNum = thumbNum;
    }

    public int getClosureDays() {
        return closureDays;
    }

    public void setClosureDays(int closureDays) {
        this.closureDays = closureDays;
    }

    public String getClosureReason() {
        return closureReason;
    }

    public void setClosureReason(String closureReason) {
        this.closureReason = closureReason;
    }

    public int getStu_id() {
        return stu_id;
    }

    public void setStu_id(int stu_id) {
        this.stu_id = stu_id;
    }

    @Override
    public String toString() {
        return "UserList{" +
                "userId=" + userId +
                ", userNumber=" + userNumber +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", userAccount='" + userAccount + '\'' +
                ", userNickname='" + userNickname + '\'' +
                ", stuName='" + stuName + '\'' +
                ", stu_id=" + stu_id +
                ", styleDate='" + styleDate + '\'' +
                ", userAmount='" + userAmount + '\'' +
                ", createDate=" + createDate +
                ", statuss=" + statuss +
                ", freestyle='" + freestyle + '\'' +
                ", idCard='" + idCard + '\'' +
                ", phone='" + phone + '\'' +
                ", userSex=" + userSex +
                ", userEmail='" + userEmail + '\'' +
                ", watchNum='" + watchNum + '\'' +
                ", collectionNum='" + collectionNum + '\'' +
                ", thumbNum='" + thumbNum + '\'' +
                ", closureDays=" + closureDays +
                ", clonowDate=" + clonowDate +
                ", cloendDate=" + cloendDate +
                ", closureReason='" + closureReason + '\'' +
                ", profession='" + profession + '\'' +
                ", stuPoints=" + stuPoints +
                ", graduation=" + graduation +
                ", entranceDate='" + entranceDate + '\'' +
                ", graduationDate='" + graduationDate + '\'' +
                ", studyContent='" + studyContent + '\'' +
                ", isd=" + isd +
                ", couponId=" + couponId +
                ", couponNoused=" + couponNoused +
                ", couponUsed=" + couponUsed +
                ", couponExpired=" + couponExpired +
                ", cdate=" + cdate +
                ", totalDays=" + totalDays +
                ", userr=" + userr +
                ", banned=" + banned +
                '}';
    }
}
